import request from '@/utils/request'
export const login = (data) => {
  return request({ url: '/sys/login', method: 'post', data })
}

export function getData() {
  return request({
    url: '/sys/profile'
  })
}

export const updatePass = (data) => {
  return request({ url: '/sys/user/updatePass', method: 'put', data })
}
